# 逻辑运算符
age = int(input("请输入年龄："))
height = int(input("请输入身高(cm)："))

if age >= 18 and age <= 30 and height >= 170 and height <= 185:
    print("恭喜，你符合报考飞行员的条件")
else:
    print("抱歉，你不符合报考飞行员的条件")

print()

print("100 and 200:", 100 and 200)
print("45 and 0:", 45 and 0)
print('"" or "http://c.biancheng.net/python/":', "" or "http://c.biancheng.net/python/")
print('18.5 or "http://c.biancheng.net/python/":', 18.5 or "http://c.biancheng.net/python/")

print()

url = "http://c.biancheng.net/cplus/"

print("----False and xxx----")
print("False and print(url):", False and print(url))
print("----True and xxx----")
print("True and print(url):", True and print(url))
print("----False or xxx----")
print("False or print(url):", False or print(url))
print("----True or xxx----")
print("True or print(url):", True or print(url))


